﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClientApplication
{
    public class JudgingMessageEventArgs : EventArgs
    {
        // Private field exposed by the Text property
        private string contestantNumber;
        private string jumpCode;
        private string jumpNr;

        public JudgingMessageEventArgs(string contestantNumber, string jumpCode, string jumpNr)
        {
            this.contestantNumber = contestantNumber;
            this.jumpCode = jumpCode;
            this.jumpNr = jumpNr;
        }

        // Read only property.
        public string GetContestantNumber
        {
            get { return contestantNumber; }
        }

        public string GetJumpCode
        {
            get { return jumpCode; }
        }

        public string GetJumpNr
        {
            get { return jumpNr; }
        }


    }
}
